<include file="Public/header" title="{$Think.config.PWD_NAME}" />
<include file="Public/navbar" />
<div class="container">
    <h3>修改类别</h3>
    <form action="" method="post">
    <div class="form-group">
        <label for="parent_id">上级类别</label>
        <select class="form-control" name="parent_id">
        <option value="0">作为一级类别</option>
        {$parent_id_options}
        </select>
    </div>
    <div class="form-group">
        <label for="category_name">类别名称</label>
        <input type="text" class="form-control" name="category_name" id="category_name" value="{$data['category_name']}" placeholder="">
    </div>
    <div class="form-group">
        <label for="order_num">排序</label>
        <input type="text" class="form-control" name="order_num" id="order_num" value="{$data['order_num']}" placeholder="">
    </div>
    <input type="hidden" name="id" value="{$data['id']}">
    <button type="submit" class="btn btn-primary">修改</button>
    </form>
</div>
<script type="text/javascript">
jQuery(function($) {
});
</script>
<include file="Public/footer" />